package eop.project


class Location {
	String locationName
	String	lattitude
	String longitude
	int elevation
	
	static belongsTo = Volcano
	
	static constraints = {
		locationName(nullable:false)
		lattitude(nullable:true)
		longitude(nullable:true)
		elevation(nullable:true)		
	}
	
	public String toString(){
		return "$locationName [$longitude, $lattitude]"
	}
}
